<?php
namespace Admin\Model;
use Think\Model;

class CategoryModel extends Model
{
    protected $_validate = array(
        array('cname','require', '分类名不能为空'),
        array('pid','require', 'pid不能为空'),
        array('path','require', 'path不能为空'),
    );

}
